package me.spring.cloud.common.components.mds.dynamic;

import java.io.Serializable;
import lombok.Data;

@Data
public class DruidEntity implements Serializable {

  private static final long serialVersionUID = -7355363632102387475L;
  private String url;

  private String username;

  private String password;

  private String driverClassName;

  private int initialSize;

  private int minIdle;

  private int maxActive;

  private int maxWait;

  private int timeBetweenEvictionRunsMillis;

  private int minEvictableIdleTimeMillis;

  private String validationQuery;

  private boolean testWhileIdle;

  private boolean testOnBorrow;

  private boolean testOnReturn;

  private boolean poolPreparedStatements;

  private int maxPoolPreparedStatementPerConnectionSize;

  private String filters;

  private String connectionProperties;
}